package org.kth.dks.dks_dht;

import java.io.IOException;

import org.kth.dks.dks_marshal.DKSMessage;

public class LookupBindingMsg extends DKSMessage {
    public final static String NAME= "LOOKUPBINDINGMSG";
    private long msgId;

    public String getName() { return NAME; }
    public long getMsgId() {return msgId;}

    public LookupBindingMsg() {

    }

    public LookupBindingMsg( long id) {

      msgId=id;
    }


  public void marshal() throws IOException {
    marshaler.addLong(msgId, "id");

  }

    public void unmarshal() throws IOException {
      msgId = marshaler.remLong("id");
    }
}
